Skip to content

[WIP] newest dense matmul bindings and change build backend to scikit-build#5

Merged
Transurgeon merged 10 commits intomainfrom
newest-dense-matmul-bindings
Mar 12, 2026
Merged

[WIP] newest dense matmul bindings and change build backend to scikit-build#5
Transurgeon merged 10 commits intomainfrom
newest-dense-matmul-bindings

Conversation

@dance858
Copy link
Contributor

No description provided.

dance858 and others added 10 commits March 9, 2026 17:04
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The updated SparseDiffEngine submodule introduces dense_matrix.c which
requires CBLAS. Link Accelerate on macOS, OpenBLAS on Linux, and
OpenBLAS via vcpkg on Windows. Install BLAS dev packages in CI
via CIBW_BEFORE_BUILD for Linux and Windows.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add /usr/include/openblas to include_dirs on Linux so cblas.h resolves
in manylinux (CentOS-based) containers where openblas-devel installs
headers to /usr/include/openblas/ instead of /usr/include/.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
CIBW_ENVIRONMENT_WINDOWS values are parsed by shlex, which treats
backslashes as escape characters. Use forward slashes instead —
Windows accepts them and they survive shlex parsing.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Replace the manual setup.py (which compiled ~49 C files with per-platform
BLAS logic and Windows workarounds) with a top-level CMakeLists.txt that
delegates to the submodule's existing CMake build. This eliminates the
dense_matrix_stub.c, the #ifdef _MSC_VER guards in bindings.c, and enables
dense matmul support on Windows via vcpkg OpenBLAS.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@Transurgeon Transurgeon changed the title [WIP] newest dense matmul bindings [WIP] newest dense matmul bindings and change build backend to scikit-build Mar 12, 2026
@Transurgeon Transurgeon merged commit 6e02667 into main Mar 12, 2026
15 checks passed
@Transurgeon Transurgeon deleted the newest-dense-matmul-bindings branch March 12, 2026 04:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants